/**
 * Created by chengke on 2018/2/9.
 */

let OperationRecordService = require('../services/OperationService');
let semAPI = require('../config').semAPI;

let reportService = new OperationRecordService(semAPI.username, semAPI.password, semAPI.token);

reportService
    .syncOperationRecord('2018-02-01', '2018-02-28')
    .then(function (data) {
        console.log('OperationRecordId is: ' + data);
    });
